package com.barunsw.bwf.ems.neoarena.constants;

public enum OperStatus {
    UNKNOWN,
    NORMAL,
    FUNC_FAIL,
    IPC_FAIL,
    BLOCK,
    NEQUIP;
    
    public static OperStatus getStatus(int value) {
    	for ( OperStatus oneStatus : OperStatus.values() ) {
        	if ( value == oneStatus.ordinal() ) {
        		return oneStatus;
        	}
    	}
		
		return null;
	}
}
